CloseLastSession method

Closes the last session of an unclosed disc in the currently opened drive. This operation cannot be cancelled. The method will return immediately. The return value indicates if the closing operation has begun. A WriteComplete  event will signify the completion of the operation. Not valid for DVD formats.

Return Type

A Boolean value.

Syntax

object.CloseLastSession(bCloseDisc As Boolean)

The CloseLastSession method syntax has these parts:

Part Description
object An expression evaluating to an object of type CDWriterPro.
bCloseDisc Boolean